home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 7 / Amiga Format AFCD07 (Dec 1996, Issue 91).iso / serious / shareware / programming / emacs-complete / fsf / emacs / src / s / netbsd.h < prev    next >
C/C++ Source or Header  |  1994-05-27  |  1KB  |  63 lines

  1. /* s/ file for netbsd system.  */
  2.  
  3. /* Get most of the stuff from bsd4.3 */
  4. #include "bsd4-3.h"
  5.  
  6. /* For mem-limits.h.  */
  7. #define BSD4_2
  8.  
  9. #undef SYSTEM_TYPE
  10. #define SYSTEM_TYPE "netbsd"
  11.  
  12. #undef KERNEL_FILE
  13. #undef LDAV_SYMBOL
  14. #define HAVE_GETLOADAVG
  15.  
  16. #define HAVE_UNION_WAIT
  17.  
  18. #define SIGNALS_VIA_CHARACTERS
  19.  
  20. #define PENDING_OUTPUT_COUNT(FILE) ((FILE)->_p - (FILE)->_bf._base)
  21.  
  22. /* netbsd uses OXTABS instead of the expected TAB3.  */
  23. #define TABDLY OXTABS
  24. #define TAB3 OXTABS
  25.  
  26. #define A_TEXT_OFFSET(x) (sizeof (struct exec))
  27. #define A_TEXT_SEEK(hdr) (N_TXTOFF(hdr) + A_TEXT_OFFSET(hdr))
  28.  
  29. #define HAVE_TERMIOS
  30. #define NO_TERMIO
  31.  
  32. #define LIBS_DEBUG
  33. /* -lutil is not needed for NetBSD >0.9.  */
  34. #define LIBS_SYSTEM -lutil
  35. #define LIBS_TERMCAP -ltermcap
  36.  
  37. #define NEED_ERRNO
  38. #define SYSV_SYSTEM_DIR
  39.  
  40. /* Netbsd has POSIX-style pgrp behavior.  */
  41. #undef BSD_PGRPS
  42.  
  43. #ifndef NO_SHARED_LIBS
  44. /* These definitions should work for either dynamic or static linking,
  45.    whichever is the default for `cc -nostdlib'.  */
  46. #define HAVE_TEXT_START        /* No need to define `start_of_text'.  */
  47. #define START_FILES pre-crt0.o /usr/lib/crt0.o
  48. #define UNEXEC unexsunos4.o
  49. #define RUN_TIME_REMAP
  50.  
  51. /* Try to make this work for both 0.9 and >0.9.  */
  52. #ifndef N_TRELOFF
  53. #define N_PAGSIZ(x) __LDPGSZ
  54. #define N_BSSADDR(x) (N_ALIGN(x, N_DATADDR(x)+x.a_data))
  55. #define N_TRELOFF(x) N_RELOFF(x)
  56. #endif
  57. #endif /* not NO_SHARED_LIBS */
  58.  
  59. /* Reread the time zone on startup.  */
  60. #define LOCALTIME_CACHE
  61.  
  62. #define HAVE_WAIT_HEADER
  63.